A better fix for bug #11464 with pos-visible-in-window-p and R2L text.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2012 12:14:11 +0000 (15:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2012 12:14:11 +0000 (15:14 +0300)
commitf118373b5376746fd1db35580c6d2d342338cf07
treee3bea99e0cb5e3983a49f115a0e174338c9c6ff4
parent370e9de20f5e290ed9f1c963e4d8b5d905040c26
A better fix for bug #11464 with pos-visible-in-window-p and R2L text.

 src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
 state after an additional call to move_it_in_display_line_to, keep
 the values of it->max_ascent and it->max_descent found for the
 entire line.
 (pos_visible_p): Revert the comparison against bottom_y to what it
 was in revid eliz@gnu.org-20120513182235-4p6386j761ld0nwb.
src/ChangeLog
src/xdisp.c